.class Lcom/instagram/android/directshare/d/g;
.super Landroid/content/BroadcastReceiver;
.source "InboxFragment.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/directshare/d/d;


# direct methods
.method constructor <init>(Lcom/instagram/android/directshare/d/d;)V
    .locals 0
    .parameter

    .prologue
    .line 233
    iput-object p1, p0, Lcom/instagram/android/directshare/d/g;->a:Lcom/instagram/android/directshare/d/d;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3
    .parameter "context"
    .parameter "intent"

    .prologue
    const/4 v1, 0x1

    .line 237
    invoke-static {}, Lcom/instagram/android/p/f;->a()Lcom/instagram/android/p/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/android/p/f;->e()Lcom/instagram/realtimeclient/RealtimeEventHandler$Status;

    move-result-object v0

    sget-object v2, Lcom/instagram/realtimeclient/RealtimeEventHandler$Status;->SUBSCRIBED:Lcom/instagram/realtimeclient/RealtimeEventHandler$Status;

    if-ne v0, v2, :cond_1

    move v0, v1

    .line 239
    :goto_0
    if-nez v0, :cond_0

    .line 240
    iget-object v0, p0, Lcom/instagram/android/directshare/d/g;->a:Lcom/instagram/android/directshare/d/d;

    invoke-static {v0, v1}, Lcom/instagram/android/directshare/d/d;->b(Lcom/instagram/android/directshare/d/d;Z)V

    .line 242
    :cond_0
    return-void

    .line 237
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
